package com.mou.mapper;

import com.mou.vo.CategoryDistributionVO;
import com.mou.vo.RealtimeTradesDataVO;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface HomeMapper {
    Double kpi(LocalDate today);

    Integer getNumberItemsOnline(LocalDate today);

    Integer getTodayOrder(LocalDate today);

    Integer getNumberUsers(LocalDate today);

    List<CategoryDistributionVO> categoryDistribution();
    List<RealtimeTradesDataVO> realtimeTrades();
}
